using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class UImanager : MonoBehaviour
{
    public static UImanager instance;
    public KeyCode A, D, K, L;
    private void Awake()
    {
        instance = this;
        A = KeyCode.A;
        D = KeyCode.D;
        K = KeyCode.K;
        L = KeyCode.L;
    }
    public void Stop()
    {
        Time.timeScale = 1 - Time.timeScale;
    }
    public void Exit()
    {
#if UNITY_EDITOR
        UnityEditor.EditorApplication.isPlaying = false;
#else
        Application.Quit();
#endif
    }
}
